<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>shark::HierarchicalClustering&lt; InputT &gt; Class Template Reference</title>
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
<script src="../../mlstyle.js"></script>
<link href="../css/besser.css" rel="stylesheet" type="text/css"/>
</head>
<!-- pretty cool: each body gets an id tag which is the basename of the web page  -->
<!--              and allows for page-specific CSS. this is client-side scripted, -->
<!--              so the id will not yet show up in the served source code -->
<script type="text/javascript">
    jQuery(document).ready(function () {
        var url = jQuery(location).attr('href');
        var pname = url.substr(url.lastIndexOf("/")+1, url.lastIndexOf(".")-url.lastIndexOf("/")-1);
        jQuery('#this_url').html('<strong>' + pname + '</strong>');
        jQuery('body').attr('id', pname);
    });
</script>
<body>
    <div id="shark_old">
        <div id="wrap">
            <div id="header">
                <div id="site-name"><a href="../../sphinx_pages/build/html/index.html">Shark machine learning library</a></div>
                <ul id="nav">
                    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/installation.html">Installation</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/tutorials/tutorials.html">Tutorials</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/benchmark.html">Benchmarks</a>
                    </li>
                    <li class="active">
                        <a href="classes.html">Documentation</a>
                        <ul>
                            <li class="first"></li>
                            <li><a href="../../sphinx_pages/build/html/rest_sources/quickref/quickref.html">Quick references</a></li>
                            <li><a href="classes.html">Class list</a></li>
                            <li class="last"><a href="group__shark__globals.html">Global functions</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
<div id="doxywrapper">
<!--
    <div id="global_doxytitle">Doxygen<br>Documentation:</div>
-->
    <div id="navrow_wrapper">
<!-- Generated by Doxygen 1.9.8 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceshark.html">shark</a></li><li class="navelem"><a class="el" href="classshark_1_1_hierarchical_clustering.html">HierarchicalClustering</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="classshark_1_1_hierarchical_clustering-members.html">List of all members</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle"><div class="title">shark::HierarchicalClustering&lt; InputT &gt; Class Template Reference<div class="ingroups"><a class="el" href="group__models.html">Models</a> &raquo; <a class="el" href="group__clustering.html">Clustering Algorithms</a></div></div></div>
</div><!--header-->
<div class="contents">

<p>Clusters defined by a binary space partitioning tree.  
 <a href="classshark_1_1_hierarchical_clustering.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_hierarchical_clustering_8h_source.html">shark/Models/Clustering/HierarchicalClustering.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for shark::HierarchicalClustering&lt; InputT &gt;:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classshark_1_1_hierarchical_clustering__inherit__graph.png" border="0" usemap="#ashark_1_1_hierarchical_clustering_3_01_input_t_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="ashark_1_1_hierarchical_clustering_3_01_input_t_01_4_inherit__map" id="ashark_1_1_hierarchical_clustering_3_01_input_t_01_4_inherit__map">
<area shape="rect" title="Clusters defined by a binary space partitioning tree." alt="" coords="5,94,195,135"/>
<area shape="rect" href="classshark_1_1_abstract_clustering.html" title="Base class for clustering." alt="" coords="15,5,185,46"/>
<area shape="poly" title=" " alt="" coords="103,62,103,94,97,94,97,62"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a458996c3186855b3f526d3ea6cb5619d" id="r_a458996c3186855b3f526d3ea6cb5619d"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_clustering.html#a6865af40b0cab718706e9360b29f2a2c">base_type::BatchInputType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_hierarchical_clustering.html#a458996c3186855b3f526d3ea6cb5619d">BatchInputType</a></td></tr>
<tr class="separator:a458996c3186855b3f526d3ea6cb5619d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8ffb5865a040974a11cdd27f0c39ab3" id="r_af8ffb5865a040974a11cdd27f0c39ab3"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_clustering.html#a0857a0698bf699be93ccf595406bdf96">base_type::BatchOutputType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_hierarchical_clustering.html#af8ffb5865a040974a11cdd27f0c39ab3">BatchOutputType</a></td></tr>
<tr class="separator:af8ffb5865a040974a11cdd27f0c39ab3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classshark_1_1_abstract_clustering"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classshark_1_1_abstract_clustering')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classshark_1_1_abstract_clustering.html">shark::AbstractClustering&lt; InputT &gt;</a></td></tr>
<tr class="memitem:a2e5bf11e84922991bf66f4198a96e4e7 inherit pub_types_classshark_1_1_abstract_clustering" id="r_a2e5bf11e84922991bf66f4198a96e4e7"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_clustering.html#a2e5bf11e84922991bf66f4198a96e4e7">Feature</a> { <a class="el" href="classshark_1_1_abstract_clustering.html#a2e5bf11e84922991bf66f4198a96e4e7a183a78cbfd5ccf4d69f2b0e733af6ad3">HAS_SOFT_MEMBERSHIP</a> = 1
 }</td></tr>
<tr class="separator:a2e5bf11e84922991bf66f4198a96e4e7 inherit pub_types_classshark_1_1_abstract_clustering"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a519bea30fafabdaff33a85a1c27b8a85 inherit pub_types_classshark_1_1_abstract_clustering" id="r_a519bea30fafabdaff33a85a1c27b8a85"><td class="memItemLeft" align="right" valign="top">typedef InputT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_clustering.html#a519bea30fafabdaff33a85a1c27b8a85">InputType</a></td></tr>
<tr class="separator:a519bea30fafabdaff33a85a1c27b8a85 inherit pub_types_classshark_1_1_abstract_clustering"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42901ac7a67744a4dd7c785bb9407d7c inherit pub_types_classshark_1_1_abstract_clustering" id="r_a42901ac7a67744a4dd7c785bb9407d7c"><td class="memItemLeft" align="right" valign="top">typedef unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_clustering.html#a42901ac7a67744a4dd7c785bb9407d7c">OutputType</a></td></tr>
<tr class="separator:a42901ac7a67744a4dd7c785bb9407d7c inherit pub_types_classshark_1_1_abstract_clustering"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6865af40b0cab718706e9360b29f2a2c inherit pub_types_classshark_1_1_abstract_clustering" id="r_a6865af40b0cab718706e9360b29f2a2c"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structshark_1_1_batch.html">Batch</a>&lt; <a class="el" href="classshark_1_1_abstract_clustering.html#a519bea30fafabdaff33a85a1c27b8a85">InputType</a> &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_clustering.html#a6865af40b0cab718706e9360b29f2a2c">BatchInputType</a></td></tr>
<tr class="separator:a6865af40b0cab718706e9360b29f2a2c inherit pub_types_classshark_1_1_abstract_clustering"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0857a0698bf699be93ccf595406bdf96 inherit pub_types_classshark_1_1_abstract_clustering" id="r_a0857a0698bf699be93ccf595406bdf96"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structshark_1_1_batch.html">Batch</a>&lt; <a class="el" href="classshark_1_1_abstract_clustering.html#a42901ac7a67744a4dd7c785bb9407d7c">OutputType</a> &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_clustering.html#a0857a0698bf699be93ccf595406bdf96">BatchOutputType</a></td></tr>
<tr class="separator:a0857a0698bf699be93ccf595406bdf96 inherit pub_types_classshark_1_1_abstract_clustering"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a981308504604ce9fb03222b07f28a5b7 inherit pub_types_classshark_1_1_abstract_clustering" id="r_a981308504604ce9fb03222b07f28a5b7"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_typed_flags.html">TypedFlags</a>&lt; <a class="el" href="classshark_1_1_abstract_clustering.html#a2e5bf11e84922991bf66f4198a96e4e7">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_clustering.html#a981308504604ce9fb03222b07f28a5b7">Features</a></td></tr>
<tr class="separator:a981308504604ce9fb03222b07f28a5b7 inherit pub_types_classshark_1_1_abstract_clustering"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7affb5327cd577e528b50405564ca71 inherit pub_types_classshark_1_1_abstract_clustering" id="r_ad7affb5327cd577e528b50405564ca71"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_typed_feature_not_available_exception.html">TypedFeatureNotAvailableException</a>&lt; <a class="el" href="classshark_1_1_abstract_clustering.html#a2e5bf11e84922991bf66f4198a96e4e7">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_clustering.html#ad7affb5327cd577e528b50405564ca71">FeatureNotAvailableException</a></td></tr>
<tr class="separator:ad7affb5327cd577e528b50405564ca71 inherit pub_types_classshark_1_1_abstract_clustering"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classshark_1_1_i_parameterizable"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classshark_1_1_i_parameterizable')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classshark_1_1_i_parameterizable.html">shark::IParameterizable&lt; VectorType &gt;</a></td></tr>
<tr class="memitem:a2ad5e2e60b2b352988b41f46024d790b inherit pub_types_classshark_1_1_i_parameterizable" id="r_a2ad5e2e60b2b352988b41f46024d790b"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_parameterizable.html#a2ad5e2e60b2b352988b41f46024d790b">ParameterVectorType</a></td></tr>
<tr class="separator:a2ad5e2e60b2b352988b41f46024d790b inherit pub_types_classshark_1_1_i_parameterizable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a5b862ca790dce9a6988de4ddff50c278" id="r_a5b862ca790dce9a6988de4ddff50c278"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_hierarchical_clustering.html#a5b862ca790dce9a6988de4ddff50c278">HierarchicalClustering</a> (const <a class="el" href="classshark_1_1_binary_tree.html">tree_type</a> *tree)</td></tr>
<tr class="memdesc:a5b862ca790dce9a6988de4ddff50c278"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <br /></td></tr>
<tr class="separator:a5b862ca790dce9a6988de4ddff50c278"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8945b0b34beae2ea1206f31593b5f814" id="r_a8945b0b34beae2ea1206f31593b5f814"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_hierarchical_clustering.html#a8945b0b34beae2ea1206f31593b5f814">name</a> () const</td></tr>
<tr class="memdesc:a8945b0b34beae2ea1206f31593b5f814"><td class="mdescLeft">&#160;</td><td class="mdescRight">From <a class="el" href="classshark_1_1_i_nameable.html" title="This class is an interface for all objects which can have a name.">INameable</a>: return the class name.  <br /></td></tr>
<tr class="separator:a8945b0b34beae2ea1206f31593b5f814"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abee669691bdffb90189c70cc49974e78" id="r_abee669691bdffb90189c70cc49974e78"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_shape.html">Shape</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_hierarchical_clustering.html#abee669691bdffb90189c70cc49974e78">inputShape</a> () const</td></tr>
<tr class="separator:abee669691bdffb90189c70cc49974e78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39b55be35d11299ad57826de89551e4c" id="r_a39b55be35d11299ad57826de89551e4c"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_hierarchical_clustering.html#a39b55be35d11299ad57826de89551e4c">numberOfClusters</a> () const</td></tr>
<tr class="memdesc:a39b55be35d11299ad57826de89551e4c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the number of clusters.  <br /></td></tr>
<tr class="separator:a39b55be35d11299ad57826de89551e4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af55379385229c1619311fc42d6033a0c" id="r_af55379385229c1619311fc42d6033a0c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_hierarchical_clustering.html#af8ffb5865a040974a11cdd27f0c39ab3">BatchOutputType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_hierarchical_clustering.html#af55379385229c1619311fc42d6033a0c">hardMembership</a> (<a class="el" href="classshark_1_1_hierarchical_clustering.html#a458996c3186855b3f526d3ea6cb5619d">BatchInputType</a> const &amp;patterns) const</td></tr>
<tr class="memdesc:af55379385229c1619311fc42d6033a0c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the best matching cluster for very pattern in the batch.  <br /></td></tr>
<tr class="separator:af55379385229c1619311fc42d6033a0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9705432311cb424191f62237f9066238" id="r_a9705432311cb424191f62237f9066238"><td class="memItemLeft" align="right" valign="top">RealVector&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_hierarchical_clustering.html#a9705432311cb424191f62237f9066238">parameterVector</a> () const</td></tr>
<tr class="memdesc:a9705432311cb424191f62237f9066238"><td class="mdescLeft">&#160;</td><td class="mdescRight">from <a class="el" href="classshark_1_1_i_parameterizable.html" title="Top level interface for everything that holds parameters.">IParameterizable</a>  <br /></td></tr>
<tr class="separator:a9705432311cb424191f62237f9066238"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e566b37e064fd7f1a4d8df523fbad34" id="r_a5e566b37e064fd7f1a4d8df523fbad34"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_hierarchical_clustering.html#a5e566b37e064fd7f1a4d8df523fbad34">setParameterVector</a> (RealVector const &amp;newParameters)</td></tr>
<tr class="memdesc:a5e566b37e064fd7f1a4d8df523fbad34"><td class="mdescLeft">&#160;</td><td class="mdescRight">from <a class="el" href="classshark_1_1_i_parameterizable.html" title="Top level interface for everything that holds parameters.">IParameterizable</a>  <br /></td></tr>
<tr class="separator:a5e566b37e064fd7f1a4d8df523fbad34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80de7a7c1da8c2bb47a563f27c1bdb58" id="r_a80de7a7c1da8c2bb47a563f27c1bdb58"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_hierarchical_clustering.html#a80de7a7c1da8c2bb47a563f27c1bdb58">numberOfParameters</a> () const</td></tr>
<tr class="memdesc:a80de7a7c1da8c2bb47a563f27c1bdb58"><td class="mdescLeft">&#160;</td><td class="mdescRight">from <a class="el" href="classshark_1_1_i_parameterizable.html" title="Top level interface for everything that holds parameters.">IParameterizable</a>  <br /></td></tr>
<tr class="separator:a80de7a7c1da8c2bb47a563f27c1bdb58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_abstract_clustering"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_abstract_clustering')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_abstract_clustering.html">shark::AbstractClustering&lt; InputT &gt;</a></td></tr>
<tr class="memitem:a75bdfc87e939ec6310fc3ea8fd7e1f49 inherit pub_methods_classshark_1_1_abstract_clustering" id="r_a75bdfc87e939ec6310fc3ea8fd7e1f49"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classshark_1_1_abstract_clustering.html#a981308504604ce9fb03222b07f28a5b7">Features</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_clustering.html#a75bdfc87e939ec6310fc3ea8fd7e1f49">features</a> () const</td></tr>
<tr class="separator:a75bdfc87e939ec6310fc3ea8fd7e1f49 inherit pub_methods_classshark_1_1_abstract_clustering"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a320b9fed0c193643f47977269f83a3b6 inherit pub_methods_classshark_1_1_abstract_clustering" id="r_a320b9fed0c193643f47977269f83a3b6"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_clustering.html#a320b9fed0c193643f47977269f83a3b6">updateFeatures</a> ()</td></tr>
<tr class="separator:a320b9fed0c193643f47977269f83a3b6 inherit pub_methods_classshark_1_1_abstract_clustering"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48971e367865d932891873c21cb4e849 inherit pub_methods_classshark_1_1_abstract_clustering" id="r_a48971e367865d932891873c21cb4e849"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_clustering.html#a48971e367865d932891873c21cb4e849">hasSoftMembershipFunction</a> () const</td></tr>
<tr class="separator:a48971e367865d932891873c21cb4e849 inherit pub_methods_classshark_1_1_abstract_clustering"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b9a35a33f14aab84aac1cbf767bb813 inherit pub_methods_classshark_1_1_abstract_clustering" id="r_a1b9a35a33f14aab84aac1cbf767bb813"><td class="memItemLeft" align="right" valign="top">virtual unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_clustering.html#a1b9a35a33f14aab84aac1cbf767bb813">hardMembership</a> (<a class="el" href="classshark_1_1_abstract_clustering.html#a519bea30fafabdaff33a85a1c27b8a85">InputType</a> const &amp;pattern) const</td></tr>
<tr class="memdesc:a1b9a35a33f14aab84aac1cbf767bb813 inherit pub_methods_classshark_1_1_abstract_clustering"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute best matching cluster.  <br /></td></tr>
<tr class="separator:a1b9a35a33f14aab84aac1cbf767bb813 inherit pub_methods_classshark_1_1_abstract_clustering"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abccfaab4d2d5c26ff5a16d7b085365d1 inherit pub_methods_classshark_1_1_abstract_clustering" id="r_abccfaab4d2d5c26ff5a16d7b085365d1"><td class="memItemLeft" align="right" valign="top">virtual RealVector&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_clustering.html#abccfaab4d2d5c26ff5a16d7b085365d1">softMembership</a> (<a class="el" href="classshark_1_1_abstract_clustering.html#a519bea30fafabdaff33a85a1c27b8a85">InputType</a> const &amp;pattern) const</td></tr>
<tr class="memdesc:abccfaab4d2d5c26ff5a16d7b085365d1 inherit pub_methods_classshark_1_1_abstract_clustering"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute cluster membership function.  <br /></td></tr>
<tr class="separator:abccfaab4d2d5c26ff5a16d7b085365d1 inherit pub_methods_classshark_1_1_abstract_clustering"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6babdbb7b5979c5651698982fea7ca0 inherit pub_methods_classshark_1_1_abstract_clustering" id="r_ad6babdbb7b5979c5651698982fea7ca0"><td class="memItemLeft" align="right" valign="top">virtual RealMatrix&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_clustering.html#ad6babdbb7b5979c5651698982fea7ca0">softMembership</a> (<a class="el" href="classshark_1_1_abstract_clustering.html#a6865af40b0cab718706e9360b29f2a2c">BatchInputType</a> const &amp;patterns) const</td></tr>
<tr class="memdesc:ad6babdbb7b5979c5651698982fea7ca0 inherit pub_methods_classshark_1_1_abstract_clustering"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute cluster membership function.  <br /></td></tr>
<tr class="separator:ad6babdbb7b5979c5651698982fea7ca0 inherit pub_methods_classshark_1_1_abstract_clustering"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a716046b5e610f0a26e3462d8dda27f45 inherit pub_methods_classshark_1_1_abstract_clustering" id="r_a716046b5e610f0a26e3462d8dda27f45"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_clustering.html#a716046b5e610f0a26e3462d8dda27f45">read</a> (<a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;archive)</td></tr>
<tr class="memdesc:a716046b5e610f0a26e3462d8dda27f45 inherit pub_methods_classshark_1_1_abstract_clustering"><td class="mdescLeft">&#160;</td><td class="mdescRight">empty default implementation of <a class="el" href="classshark_1_1_i_serializable.html#ad4ad9a7c274deff642f91e98417fbc63" title="Read the component from the supplied archive.">ISerializable::read</a>  <br /></td></tr>
<tr class="separator:a716046b5e610f0a26e3462d8dda27f45 inherit pub_methods_classshark_1_1_abstract_clustering"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1256454c153c93d532738311bf7600a0 inherit pub_methods_classshark_1_1_abstract_clustering" id="r_a1256454c153c93d532738311bf7600a0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_clustering.html#a1256454c153c93d532738311bf7600a0">write</a> (<a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;archive) const</td></tr>
<tr class="memdesc:a1256454c153c93d532738311bf7600a0 inherit pub_methods_classshark_1_1_abstract_clustering"><td class="mdescLeft">&#160;</td><td class="mdescRight">empty default implementation of <a class="el" href="classshark_1_1_i_serializable.html#a9bddedd42933c922e323b73131f62f12" title="Write the component to the supplied archive.">ISerializable::write</a>  <br /></td></tr>
<tr class="separator:a1256454c153c93d532738311bf7600a0 inherit pub_methods_classshark_1_1_abstract_clustering"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_nameable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_nameable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_nameable.html">shark::INameable</a></td></tr>
<tr class="memitem:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable" id="r_a877dbdfc6b58ea836495143cea44a98c"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_nameable.html#a877dbdfc6b58ea836495143cea44a98c">~INameable</a> ()</td></tr>
<tr class="separator:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_parameterizable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_parameterizable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_parameterizable.html">shark::IParameterizable&lt; VectorType &gt;</a></td></tr>
<tr class="memitem:a9e3a11172e74d1aa7292f3de4e2b6ebc inherit pub_methods_classshark_1_1_i_parameterizable" id="r_a9e3a11172e74d1aa7292f3de4e2b6ebc"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_parameterizable.html#a9e3a11172e74d1aa7292f3de4e2b6ebc">~IParameterizable</a> ()</td></tr>
<tr class="separator:a9e3a11172e74d1aa7292f3de4e2b6ebc inherit pub_methods_classshark_1_1_i_parameterizable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_serializable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_serializable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_serializable.html">shark::ISerializable</a></td></tr>
<tr class="memitem:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable" id="r_a7baa9ce108d7278822297ce15882782a"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a7baa9ce108d7278822297ce15882782a">~ISerializable</a> ()</td></tr>
<tr class="memdesc:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual d'tor.  <br /></td></tr>
<tr class="separator:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable" id="r_abdda0c5b8e065b8afbac2cba8f58e841"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#abdda0c5b8e065b8afbac2cba8f58e841">load</a> (<a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;archive, unsigned int version)</td></tr>
<tr class="memdesc:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Versioned loading of components, calls read(...).  <br /></td></tr>
<tr class="separator:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable" id="r_a5bf66fa8db15cc529bec98976a2f5255"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a5bf66fa8db15cc529bec98976a2f5255">save</a> (<a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;archive, unsigned int version) const</td></tr>
<tr class="memdesc:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Versioned storing of components, calls write(...).  <br /></td></tr>
<tr class="separator:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4560a94e8f4908fe8627e41e7d965735 inherit pub_methods_classshark_1_1_i_serializable" id="r_a4560a94e8f4908fe8627e41e7d965735"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a4560a94e8f4908fe8627e41e7d965735">BOOST_SERIALIZATION_SPLIT_MEMBER</a> ()</td></tr>
<tr class="separator:a4560a94e8f4908fe8627e41e7d965735 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a385537eec18cd6338802acb9d4f39078" id="r_a385537eec18cd6338802acb9d4f39078"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_binary_tree.html">tree_type</a> const  *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_hierarchical_clustering.html#a385537eec18cd6338802acb9d4f39078">mep_tree</a></td></tr>
<tr class="memdesc:a385537eec18cd6338802acb9d4f39078"><td class="mdescLeft">&#160;</td><td class="mdescRight">binary tree  <br /></td></tr>
<tr class="separator:a385537eec18cd6338802acb9d4f39078"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classshark_1_1_abstract_clustering"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classshark_1_1_abstract_clustering')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classshark_1_1_abstract_clustering.html">shark::AbstractClustering&lt; InputT &gt;</a></td></tr>
<tr class="memitem:a75910ba675486528e27893a95608510d inherit pro_attribs_classshark_1_1_abstract_clustering" id="r_a75910ba675486528e27893a95608510d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_clustering.html#a981308504604ce9fb03222b07f28a5b7">Features</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_clustering.html#a75910ba675486528e27893a95608510d">m_features</a></td></tr>
<tr class="separator:a75910ba675486528e27893a95608510d inherit pro_attribs_classshark_1_1_abstract_clustering"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;class InputT&gt;<br />
class shark::HierarchicalClustering&lt; InputT &gt;</div><p>Clusters defined by a binary space partitioning tree. </p>
<dl class="section user"><dt></dt><dd>Binary space-partitioning is a simple and fast way of clustering.</dd></dl>
<dl class="section user"><dt></dt><dd>It is not clear how the unfolding of the tree can be expressed as a flat parameter vector. Therefore, the parameter vector of this model is empty. </dd></dl>

<p class="definition">Definition at line <a class="el" href="_hierarchical_clustering_8h_source.html#l00060">60</a> of file <a class="el" href="_hierarchical_clustering_8h_source.html">HierarchicalClustering.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a458996c3186855b3f526d3ea6cb5619d" name="a458996c3186855b3f526d3ea6cb5619d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a458996c3186855b3f526d3ea6cb5619d">&#9670;&#160;</a></span>BatchInputType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class InputT &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_abstract_clustering.html#a6865af40b0cab718706e9360b29f2a2c">base_type::BatchInputType</a> <a class="el" href="classshark_1_1_hierarchical_clustering.html">shark::HierarchicalClustering</a>&lt; InputT &gt;::BatchInputType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_hierarchical_clustering_8h_source.html#l00065">65</a> of file <a class="el" href="_hierarchical_clustering_8h_source.html">HierarchicalClustering.h</a>.</p>

</div>
</div>
<a id="af8ffb5865a040974a11cdd27f0c39ab3" name="af8ffb5865a040974a11cdd27f0c39ab3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8ffb5865a040974a11cdd27f0c39ab3">&#9670;&#160;</a></span>BatchOutputType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class InputT &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_abstract_clustering.html#a0857a0698bf699be93ccf595406bdf96">base_type::BatchOutputType</a> <a class="el" href="classshark_1_1_hierarchical_clustering.html">shark::HierarchicalClustering</a>&lt; InputT &gt;::BatchOutputType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_hierarchical_clustering_8h_source.html#l00066">66</a> of file <a class="el" href="_hierarchical_clustering_8h_source.html">HierarchicalClustering.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a5b862ca790dce9a6988de4ddff50c278" name="a5b862ca790dce9a6988de4ddff50c278"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b862ca790dce9a6988de4ddff50c278">&#9670;&#160;</a></span>HierarchicalClustering()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class InputT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_hierarchical_clustering.html">shark::HierarchicalClustering</a>&lt; InputT &gt;::HierarchicalClustering </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classshark_1_1_binary_tree.html">tree_type</a> *&#160;</td>
          <td class="paramname"><em>tree</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor. </p>
<dl class="section user"><dt></dt><dd>Construct a hierarchy of clusters from a binary tree.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">tree</td><td>tree object underlying the clustering </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_hierarchical_clustering_8h_source.html#l00074">74</a> of file <a class="el" href="_hierarchical_clustering_8h_source.html">HierarchicalClustering.h</a>.</p>

<p class="reference">References <a class="el" href="_exception_8h.html#adce1f80097c69010f5eab2618fa2e971">SHARK_RUNTIME_CHECK</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="af55379385229c1619311fc42d6033a0c" name="af55379385229c1619311fc42d6033a0c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af55379385229c1619311fc42d6033a0c">&#9670;&#160;</a></span>hardMembership()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class InputT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_hierarchical_clustering.html#af8ffb5865a040974a11cdd27f0c39ab3">BatchOutputType</a> <a class="el" href="classshark_1_1_hierarchical_clustering.html">shark::HierarchicalClustering</a>&lt; InputT &gt;::hardMembership </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_hierarchical_clustering.html#a458996c3186855b3f526d3ea6cb5619d">BatchInputType</a> const &amp;&#160;</td>
          <td class="paramname"><em>patterns</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the best matching cluster for very pattern in the batch. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_abstract_clustering.html#af11841eae50fa5d031a7a6706e0fa9d9">shark::AbstractClustering&lt; InputT &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_hierarchical_clustering_8h_source.html#l00093">93</a> of file <a class="el" href="_hierarchical_clustering_8h_source.html">HierarchicalClustering.h</a>.</p>

<p class="reference">References <a class="el" href="namespaceshark.html#af2ab10364feb8a631e0866dcf2f1a4ad">shark::batchSize()</a>, <a class="el" href="classshark_1_1_binary_tree.html#a8d5379344624257a1c2950d4e64ab8c0">shark::BinaryTree&lt; InputT &gt;::hasChildren()</a>, <a class="el" href="classshark_1_1_binary_tree.html#a456c9994792021b1bb2557cad4ab7a3e">shark::BinaryTree&lt; InputT &gt;::isLeft()</a>, <a class="el" href="classshark_1_1_binary_tree.html#ae20385cf5cf85d7168db9b3fcf411c47">shark::BinaryTree&lt; InputT &gt;::left()</a>, <a class="el" href="classshark_1_1_hierarchical_clustering.html#a385537eec18cd6338802acb9d4f39078">shark::HierarchicalClustering&lt; InputT &gt;::mep_tree</a>, <a class="el" href="classshark_1_1_binary_tree.html#a53cb65296bf84a1fbe0715e2ba0878bb">shark::BinaryTree&lt; InputT &gt;::nodes()</a>, and <a class="el" href="classshark_1_1_binary_tree.html#ae5167564abb964d90da01897693a5768">shark::BinaryTree&lt; InputT &gt;::right()</a>.</p>

</div>
</div>
<a id="abee669691bdffb90189c70cc49974e78" name="abee669691bdffb90189c70cc49974e78"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abee669691bdffb90189c70cc49974e78">&#9670;&#160;</a></span>inputShape()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class InputT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_shape.html">Shape</a> <a class="el" href="classshark_1_1_hierarchical_clustering.html">shark::HierarchicalClustering</a>&lt; InputT &gt;::inputShape </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="classshark_1_1_abstract_clustering.html#a877c93a51f9416ce0f7dec4645086fc8">shark::AbstractClustering&lt; InputT &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_hierarchical_clustering_8h_source.html#l00083">83</a> of file <a class="el" href="_hierarchical_clustering_8h_source.html">HierarchicalClustering.h</a>.</p>

</div>
</div>
<a id="a8945b0b34beae2ea1206f31593b5f814" name="a8945b0b34beae2ea1206f31593b5f814"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8945b0b34beae2ea1206f31593b5f814">&#9670;&#160;</a></span>name()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class InputT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="classshark_1_1_hierarchical_clustering.html">shark::HierarchicalClustering</a>&lt; InputT &gt;::name </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>From <a class="el" href="classshark_1_1_i_nameable.html" title="This class is an interface for all objects which can have a name.">INameable</a>: return the class name. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_nameable.html#a9893f99314de30cd472e649c235d0db4">shark::INameable</a>.</p>

<p class="definition">Definition at line <a class="el" href="_hierarchical_clustering_8h_source.html#l00080">80</a> of file <a class="el" href="_hierarchical_clustering_8h_source.html">HierarchicalClustering.h</a>.</p>

</div>
</div>
<a id="a39b55be35d11299ad57826de89551e4c" name="a39b55be35d11299ad57826de89551e4c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a39b55be35d11299ad57826de89551e4c">&#9670;&#160;</a></span>numberOfClusters()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class InputT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="classshark_1_1_hierarchical_clustering.html">shark::HierarchicalClustering</a>&lt; InputT &gt;::numberOfClusters </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the number of clusters. </p>

<p>Implements <a class="el" href="classshark_1_1_abstract_clustering.html#a2c913637b84340135b606912228f5851">shark::AbstractClustering&lt; InputT &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_hierarchical_clustering_8h_source.html#l00088">88</a> of file <a class="el" href="_hierarchical_clustering_8h_source.html">HierarchicalClustering.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_hierarchical_clustering.html#a385537eec18cd6338802acb9d4f39078">shark::HierarchicalClustering&lt; InputT &gt;::mep_tree</a>, and <a class="el" href="classshark_1_1_binary_tree.html#a53cb65296bf84a1fbe0715e2ba0878bb">shark::BinaryTree&lt; InputT &gt;::nodes()</a>.</p>

<p class="reference">Referenced by <a class="el" href="_hierarchical_clustering_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627">main()</a>.</p>

</div>
</div>
<a id="a80de7a7c1da8c2bb47a563f27c1bdb58" name="a80de7a7c1da8c2bb47a563f27c1bdb58"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a80de7a7c1da8c2bb47a563f27c1bdb58">&#9670;&#160;</a></span>numberOfParameters()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class InputT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="classshark_1_1_hierarchical_clustering.html">shark::HierarchicalClustering</a>&lt; InputT &gt;::numberOfParameters </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>from <a class="el" href="classshark_1_1_i_parameterizable.html" title="Top level interface for everything that holds parameters.">IParameterizable</a> </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_parameterizable.html#aed1e8d1d4dbde387e2f6a25141ed3a20">shark::IParameterizable&lt; VectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_hierarchical_clustering_8h_source.html#l00123">123</a> of file <a class="el" href="_hierarchical_clustering_8h_source.html">HierarchicalClustering.h</a>.</p>

</div>
</div>
<a id="a9705432311cb424191f62237f9066238" name="a9705432311cb424191f62237f9066238"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9705432311cb424191f62237f9066238">&#9670;&#160;</a></span>parameterVector()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class InputT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">RealVector <a class="el" href="classshark_1_1_hierarchical_clustering.html">shark::HierarchicalClustering</a>&lt; InputT &gt;::parameterVector </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>from <a class="el" href="classshark_1_1_i_parameterizable.html" title="Top level interface for everything that holds parameters.">IParameterizable</a> </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_parameterizable.html#afaa2ba692ab64a0edbff60d7ee6794db">shark::IParameterizable&lt; VectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_hierarchical_clustering_8h_source.html#l00113">113</a> of file <a class="el" href="_hierarchical_clustering_8h_source.html">HierarchicalClustering.h</a>.</p>

</div>
</div>
<a id="a5e566b37e064fd7f1a4d8df523fbad34" name="a5e566b37e064fd7f1a4d8df523fbad34"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e566b37e064fd7f1a4d8df523fbad34">&#9670;&#160;</a></span>setParameterVector()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class InputT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_hierarchical_clustering.html">shark::HierarchicalClustering</a>&lt; InputT &gt;::setParameterVector </td>
          <td>(</td>
          <td class="paramtype">RealVector const &amp;&#160;</td>
          <td class="paramname"><em>newParameters</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>from <a class="el" href="classshark_1_1_i_parameterizable.html" title="Top level interface for everything that holds parameters.">IParameterizable</a> </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_parameterizable.html#ad5e35d1a10ff36fa72ea787baa40e9ad">shark::IParameterizable&lt; VectorType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_hierarchical_clustering_8h_source.html#l00118">118</a> of file <a class="el" href="_hierarchical_clustering_8h_source.html">HierarchicalClustering.h</a>.</p>

<p class="reference">References <a class="el" href="_exception_8h.html#a73abb5049a0168d72a48e72dda41708b">SHARK_ASSERT</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a385537eec18cd6338802acb9d4f39078" name="a385537eec18cd6338802acb9d4f39078"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a385537eec18cd6338802acb9d4f39078">&#9670;&#160;</a></span>mep_tree</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class InputT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_binary_tree.html">tree_type</a> const* <a class="el" href="classshark_1_1_hierarchical_clustering.html">shark::HierarchicalClustering</a>&lt; InputT &gt;::mep_tree</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>binary tree </p>

<p class="definition">Definition at line <a class="el" href="_hierarchical_clustering_8h_source.html#l00129">129</a> of file <a class="el" href="_hierarchical_clustering_8h_source.html">HierarchicalClustering.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_hierarchical_clustering.html#af55379385229c1619311fc42d6033a0c">shark::HierarchicalClustering&lt; InputT &gt;::hardMembership()</a>, and <a class="el" href="classshark_1_1_hierarchical_clustering.html#a39b55be35d11299ad57826de89551e4c">shark::HierarchicalClustering&lt; InputT &gt;::numberOfClusters()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/shark/Models/Clustering/<a class="el" href="_hierarchical_clustering_8h_source.html">HierarchicalClustering.h</a></li>
</ul>
</div><!-- contents -->
</div>
</body>
</html>
